package com.example.seed.entity;

/**
 * 缓存常量
 *
 * @author AAA
 * @date 2024/04/02
 */
public final class CacheConstant {

    public static final String TOKEN = "token";

    /**
     * 登录令牌密钥
     */
    public static final String LOGIN_TOKEN_KEY = "LOGIN_TOKENS:";
    /**
     * 页眉
     */
    public static final String HEADER = "Authorization";
    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";
    /**
     * 令牌分隔符
     */
    public static final String TOKEN_SEPARATOR = ":";

    private CacheConstant() {
    }
}
